package org.learn.java;

public class StopWatch {

	private long start;

	public StopWatch() {
		start = System.currentTimeMillis();
	}

	public double timeTaken() {
		return (System.currentTimeMillis() - start * 1.0) / 1000.0;
	}

}
